package common;

import java.io.Serializable;
import java.net.URI;


public class PublishInfo implements Serializable {

	private static final long serialVersionUID = 1L;
	public String msg;
	public boolean requeued = false;
	public URI source;
	public String topic;
	public String username;
	public VectorClock vectorClock;

	public PublishInfo(String msg, URI source, String topic,
			VectorClock vectorClock, String username) {
		super();
		this.msg = msg;
		this.source = source;
		this.topic = topic;
		this.vectorClock = vectorClock;
		this.username = username;
	}

}
